package elec315.chatroom;

import elec315.chatroom.client.ChatClient;

public class ChatClientMain {

	private static final int PORT = 6415;

	public static void main(String[] args) {
		if (args.length == 1) {
				new Thread(new ChatClient(args[0], PORT)).start();
		} else {
			System.out.println("Incorrect number of arguments.");
			System.out.println("java -jar [Main jar file] [Server IP Address].");
		}
	}

}
